#!/usr/bin/perl


$cmdStart = "python -c \"from semantic import *; sql_demo_sentence(\\\"";
$cmdEnd = "\\\")\"";


$cmd = join(' ', @ARGV);

# remove punctuation
$cmd =~ s/[,;:!\?\.\"]//g;

$fullCmd = $cmdStart . $cmd . $cmdEnd;

$out = `$fullCmd`;

print("$out\n");
